<html>
<!--
123456789 123456789 123456789 123456789 123456789 1234567890
 -->

<!-- ARCHIVE by GEOCITIES.WS -->
<head>
  <meta name="author" content="Joseph_Sixpack" />
  <meta name="keywords" content="gw-basic, gw-basic programs, programming gw-basic, last book of gw-basic, gw-basic programming" />
  <meta name="description" content="                                        " />
  <title>Using Command.com for writing</title>
</head>

<a name="top"></a>

<center><h1>MS-DOS's Command.com can write letters</h1></center>
<center><h4>If you have a printer that functions from DOS, that is...</h4></center>
<center><h1>by Joseph_sixpack</h1></center>

Back to <a href="btoc.html">GW-BASIC Table of Contents</a></br>
Go to the <a href="bindex.html">Index</a> of "The Last Book of GW-BASIC"

<body><script type="text/javascript" src="../js/policy.js"></script>
<center><script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=728&amp;height=90"></script>
</center>
<!--script type="text/javascript" src="/js/AdBoxDiv.js"></script-->
<script type="text/javascript">
adserver();
window.onload=function(){
html = document.body.innerHTML;

checkPolicy(html);
if ((displayif == 0) && (adstring != null)) {
document.getElementById("footeraddiv").innerHTML = adstring;
}
}
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-26341965-1']);
  _gaq.push(['_setDomainName', '.geocities.ws']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>


<script type="text/javascript">
<!--
 H4jewqpdjh6y = /geocities\.ws$|geocities\.ws\/$|geocities\.ws\/index\.php|geocities\.ws\/archive|geocities\.ws\/search|geocities\.ws\/terms-of-use\.php|geocities\.ws\/terms-of-service\.php|geocities\.ws\/about\.php/i;
        t48193jfrdsswdsq = document.URL;
        H4jewqpdjh6yfound = t48193jfrdsswdsq.search(H4jewqpdjh6y);
	
if(H4jewqpdjh6yfound == -1){
	document.write("<center><ins data-revive-zoneid=\"1\" data-revive-id=\"249a85bd1b1946c71ef2de94958ed350\"><\/ins><script async src=\"\/\/147.135.187.149\/ads\/www\/delivery\/asyncjs.php\"><\/script><\/center><br>");
}
//-->
</script>

<!-- following code added by server. PLEASE REMOVE -->
<!-- preceding code added by server. PLEASE REMOVE -->

<pre>As a tiny note to writing with Microsoft's now ancient GW- 
BASIC, is a note that:  If your printer can print from DOS 
(most nowadays can't) you only need a command.com on a sys- 
ed floppy disk to write letters and memorandum and memo's.

                         Here's how

At the command prompt type the name of your desired file 
name preceeded by the words:  copy con.
('copy con' is dosspeak for "copy this file to the console"

then add your desired filename right after that, but be 
careful to not duplicate an existing file name so the old 
file doesn't get written over.  but that isn't much of a 
problem if you are just working from a sys-ed floppy.

Then after the 'copy con' add your file name.  So that your 
command looks something like these examples:
     copy con memo.txt
     copy con mother.doc
     copy con 12-23-84.mem
     copy con holidays.let

then type your letter just like you would on an old manual 
typewriter, pressing enter at the end of each line.
If i remember correctly, you can press the TAB key once or 
twice at the beginning of each line to create a left margin 
indent on your literary creation upon printout so you won't 
have a letter that starts on column 1 of your paper.

After you are finished writing your memo press the F6 
function key.  You will see a control z then.  After 
pressing the F6 key, press the enter key.  Voila, your 
letter is copied to the floppy or where ever you started 
your 'copy con' at.

Then to print your letter, (if your printer will work from 
DOS...) enter the command at the DOS prompt:

     copy YOURFILENAME prn

(that is dosspeak for send my document to the printer.)

Or you can use 'copy Filename LPT1
LPT is shorthand for 'lineprinter'.

That's it.  All there is tuit.  Grab an early ancient DOS 
book to read up on all the command.com goodies and tricks 
contained within.  Other existing command processors may 
have even more goodies contained within.  Check out 4DOS for 
example.

Wouldn't it have been nice if in the last century they had 
come up with a combination gw-basic and command.com all in 
one file?  or a pascal command.com or a Forth command.com.
i betcha one is out there s-o-m-e-w-h-e-r-e...
Then we could reduce the four files of the apocalypse to 
just three files of the apocalypse.  How simple can we make 
things and still get the basic job done?  Oh well... back to 
100 million lines of code in 100,000 files.
      Dear Mom,  how are you?...  Here is a movie of me...

</pre>
</body>

Go to <a href="bcopycon.html#top">TOP</a> of Page<br>
Back to GW-BASIC <a href="btoc.html">Table of Contents</a><br>
Back to GW-BASIC <a href="bindex.html">Index</a>


<!-- ARCHIVE by GEOCITIES.WS -->
<div id="footeraddiv" name="footeraddiv">Hosted by www.Geocities.ws</div>
<br>	
<center>
        <div>
<!--script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script-->
<script type="text/javascript">
	atOptions = {
		'key' : '5046d8ab865606a85a55c357926403c9',
		'format' : 'iframe',
		'height' : 90,
		'width' : 728,
		'params' : {}
	};
	document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://www.bcloudhost.com/5046d8ab865606a85a55c357926403c9/invoke.js"></scr' + 'ipt>');
</script>
        </div>

</center>
</html>
<!-- text below generated by server. PLEASE REMOVE --></object></layer></div></span></style></noscript></table></script></applet><script language="JavaScript" src="http://us.i1.yimg.com/us.yimg.com/i/mc/mc.js"></script><script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/geov2_001.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.geocities.yahoo.com/visit.gif?us1256595196" alt="setstats" border="0" width="1" height="1"></noscript>
<IMG SRC="http://geo.yahoo.com/serv?s=76001084&amp;t=1256595196&amp;f=us-w5" ALT=1 WIDTH=1 HEIGHT=1>
